package org.jeecg.modules.basic.demo.apartment.job;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.util.DateUtils;
import org.jeecg.modules.basic.demo.apartment.service.ILwgyBaseApartmentService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 将创建的楼宇没有编码的生成编码
 * 
 * @Author Scott
 */
@Slf4j
public class updateCodeJob implements Job {
	@Autowired
	private ILwgyBaseApartmentService lwgyBaseApartmentService;
	@Override
	public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {

		//lwgyBaseApartmentService.updateCodeJob();
		Boolean xq =  lwgyBaseApartmentService.updateXqJob();

	}
}
